<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>商品详情</title>
    <!-- import CSS -->
    <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.15.9/theme-chalk/index.css">
    <!-- import Vue before Element -->
    <script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
    <!-- import JavaScript -->
    <script src="https://cdn.staticfile.org/element-ui/2.15.9/index.min.js"></script>
    <style>
        .el-header img{
            vertical-align: middle;
        }
        .el-header a{
            color:#666666;
            text-decoration: none;
        }
    </style>
</head>
<body>
<div id="app">
    <el-container>
        <el-header height="150px">
            <div style="width: 1600px;margin: 0 auto">
                <img src="imgs/logo.png" width="300px" >
                <a href="">首页</a><el-divider direction="vertical"></el-divider>
                <a href="">热点资讯</a><el-divider direction="vertical"></el-divider>
                <a href="">商家入驻</a><el-divider direction="vertical"></el-divider>
                <a href="">社会招聘</a><el-divider direction="vertical"></el-divider>
                <a href="">校园招聘</a><el-divider direction="vertical"></el-divider>
                <a href="">帮助</a><el-divider direction="vertical"></el-divider>
            </div>
            <div style="background-color: #0aa1ed">
                <el-menu style="width: 1400px ;margin: 0 auto" mode="horizontal"
                         background-color="#0aa1ed" text-color="#fff" active-text-color="#0f0"
                         @select="handleSelect">
                    <el-menu-item index="1">精彩活动</el-menu-item>
                    <el-menu-item index="2">精品女装</el-menu-item>
                    <el-menu-item index="3">品牌男装</el-menu-item>
                    <el-menu-item index="4">母婴产品</el-menu-item>
                    <el-menu-item index="5">数码科技</el-menu-item>
                    <div style="float:right;position: relative;top:10px;right: 20px">
                        <el-input placeholder="请输入搜索内容">
                            <!--  slot="append" 设置按钮嵌入到文本框里面 -->
                            <el-button slot="append" icon="el-icon-search"></el-button>
                        </el-input>
                    </div>
                </el-menu>
            </div>
        </el-header>
        <el-main style="width:1400px;margin:0 auto">
            <el-row gutter="20">
                <el-col span="12">
                    <el-card>
                        <img src="imgs/a.jpg" width="100%" alt="">
                    </el-card>
                </el-col>
                <el-col span="12">
                    <p>森马牛仔裤女宽松慢跑裤运动风2022春季新款显瘦束脚长裤复古</p>
                    <el-divider></el-divider>
                    <p style="font-size: 15px;color: #666666;">
                        销量:423 浏览量:123
                    </p>
                    <p style="font-size: 25px;font-weight: bold;">
                        $128<span style="font-size: 15px;color: #666666">
                        原价:<s>998</s>
                    </span>
                    </p>
                    <el-row gutter="20" style="text-align: center">
                        <el-col span="8">
                            <el-card>
                                <img src="imgs/ewm.jpg" alt="">
                            </el-card>
                            <p>扫描关注公众号</p>
                        </el-col>
                        <el-col span="8">
                            <el-card>
                                <img src="imgs/ewm.jpg" alt="">
                            </el-card>
                            <p>扫描购买商品</p>
                        </el-col>
                        <el-col span="8">
                            <el-card>
                                <img src="imgs/ewm.jpg" alt="">
                            </el-card>
                            <p>扫描下载APP</p>
                        </el-col>

                    </el-row>
                </el-col>
            </el-row>
        </el-main>
        <el-footer>
            <div style="background-image:url('imgs/wave.png'); height:95px"></div>
        </el-footer>
    </el-container>
</div>
</body>
<script>
    let v = new Vue({
        el: '#app',
        data: function () {
            return {

            }
        },
        methods:{
            handleSelect(key,keyPath){
                console.log(key)
            }
        }
    })
</script>
</html>